<template>
    <div class="navbar">
        <div class="navbar-inner">
            <slot name="left"></slot>
            <div class="center"><%- title %></div>
            <div class="right">
                <a href="#" data-panel="left" class="link icon-only open-panel"><i class="md-icon">notifications_none</i></a>
                <a href="#" data-panel="left" class="link icon-only open-panel"><i class="md-icon">menu</i></a>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    props: ['title'],
    data(){
        return {
            // title: '标题'
        }
    }
}
</script>

<style lang='sass' scoped>
.navbar {
	/*background-image: url(../../img/away.png);*/
    background-repeat: no-repeat;
	& {
		color: red;
		transform: scale(1);
	}
}
</style>